package net.pws.oos.biz.service;

import java.util.Set;

import net.pws.oos.biz.model.Notice;
import net.pws.oos.biz.model.User;

public interface NoticeService {

	/**
	 * 新建通知
	 * @param notice	
	 * @param receivers
	 * @return
	 */
	public Notice create(Notice notice, Set<User> receivers);
	
	/**
	 * 删除通知
	 * @param noticeId
	 */
	public void delete(String noticeId);
	
	/**
	 * 标记已读
	 * @param noticeId
	 * @param userId
	 */
	public void read(String noticeId, String userId);
}
